import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner stdIn= new Scanner(System.in);
        System.out.println("请输入一个整数：");
        while(true){
        int t=stdIn.nextInt();
        if(t<60) System.out.println("不及格");
        else if (t>=60&&t<=75) System.out.println("及格");
        else if (t>=75&&t<90) System.out.println("良好");
        else if (t>=90) System.out.println("优秀");}

    }
}
